/**
 * 
 */
package rachauto.dto;

import java.util.Date;

/**
 * @author said
 *
 */
@SuppressWarnings("serial")
public class AccountDto implements GenericDto {
	
	private Long id;
	
	private String login;
	private String password;
	private Date dateCreation;
	private Date dateModification;
	private Date dateDernierAccess;
	
	private RoleDto role;
	
	public AccountDto(){
		super();
		role = new RoleDto();
	}
	
	
	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * @return the role
	 */
	public RoleDto getRole() {
		return role;
	}


	/**
	 * @param role the role to set
	 */
	public void setRole(RoleDto role) {
		this.role = role;
	}


	/**
	 * @return the dateCreation
	 */
	public Date getDateCreation() {
		return dateCreation;
	}


	/**
	 * @param dateCreation the dateCreation to set
	 */
	public void setDateCreation(Date dateCreation) {
		this.dateCreation = dateCreation;
	}


	/**
	 * @return the dateModification
	 */
	public Date getDateModification() {
		return dateModification;
	}


	/**
	 * @param dateModification the dateModification to set
	 */
	public void setDateModification(Date dateModification) {
		this.dateModification = dateModification;
	}


	/**
	 * @return the dateDernierAccess
	 */
	public Date getDateDernierAccess() {
		return dateDernierAccess;
	}


	/**
	 * @param dateDernierAccess the dateDernierAccess to set
	 */
	public void setDateDernierAccess(Date dateDernierAccess) {
		this.dateDernierAccess = dateDernierAccess;
	}


	/**
	 * @return the login
	 */
	public String getLogin() {
		return login;
	}


	/**
	 * @param login the login to set
	 */
	public void setLogin(String login) {
		this.login = login;
	}
	
	
	
	
}
